package com.service.thirddatacenter.chiaexplorer.client;


import com.service.thirddatacenter.chiaexplorer.client.rep.BlockchainSummary;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "chiaExplorerApi", url = "${chia-explorer.url}")
public interface ChiaExplorerClient {

    @RequestMapping(method = RequestMethod.GET, value = "blockchainSummary")
    BlockchainSummary getBlockchainSummary();

}
